#ifndef __CONF_H__
#define __CONF_H__

#include "main.h"

#define NBAT_TYPE 0x01
#define BAT_TYPE  0x02

extern uint8_t TYPE;
extern void EnterSTANDBYMode(void);
extern void RTC_SetAlarm(uint32_t seconds);

extern void PrintResetReason(void);
extern uint8_t TimerWakeUPReboot(void);
extern void EnableBLE(void);
extern void DisableBLE(void);
extern void EnableTHandNTC(void);
extern void DisableTHandNTC(void);

extern uint32_t generate_seed(void) ;
extern void srand_xorshift(uint32_t seed);
#endif
